 /*
  *Copyright (c) 2003, 2018, UMF and/or its affiliates. All rights reserved.
  *
  */
 package com.umpay.dto.merAccess.res.query.consumeOrderQuery;

 import com.umpay.dto.merAccess.res.CommonRes;

 import java.util.List;
 import java.util.StringJoiner;

 /**
  * @description: 消费订单查询响应dto
  * @author: lile
  * @create: 2019-03-20 14:03
  **/
 public class ConsumeOrderQueryRes extends CommonRes {

    private String order_id;
    private String trade_no;
    private String mer_date;
    private String creat_time;
    private String order_type;
    private String order_state;
    private String amount;
    private ConsumePayInfo pay_info;
    private List<ConsumeOrderSplitInfo> split_info;
    private ConsumeOrderRefundInfo refund_info;

     public String getOrder_id() {
         return order_id;
     }

     public void setOrder_id(String order_id) {
         this.order_id = order_id;
     }

     public String getMer_date() {
         return mer_date;
     }

     public void setMer_date(String mer_date) {
         this.mer_date = mer_date;
     }

     public String getOrder_type() {
         return order_type;
     }

     public void setOrder_type(String order_type) {
         this.order_type = order_type;
     }

     public String getOrder_state() {
         return order_state;
     }

     public void setOrder_state(String order_state) {
         this.order_state = order_state;
     }

     public String getAmount() {
         return amount;
     }

     public void setAmount(String amount) {
         this.amount = amount;
     }

     public String getTrade_no() {
         return trade_no;
     }

     public void setTrade_no(String trade_no) {
         this.trade_no = trade_no;
     }

     public String getCreat_time() {
         return creat_time;
     }

     public void setCreat_time(String creat_time) {
         this.creat_time = creat_time;
     }

     public ConsumePayInfo getPay_info() {
         return pay_info;
     }

     public void setPay_info(ConsumePayInfo pay_info) {
         this.pay_info = pay_info;
     }

     public List<ConsumeOrderSplitInfo> getSplit_info() {
         return split_info;
     }

     public void setSplit_info(List<ConsumeOrderSplitInfo> split_info) {
         this.split_info = split_info;
     }

     public ConsumeOrderRefundInfo getRefund_info() {
         return refund_info;
     }

     public void setRefund_info(ConsumeOrderRefundInfo refund_info) {
         this.refund_info = refund_info;
     }

     @Override
     public String toString() {
         return new StringJoiner(", ", "[", "]")
                 .add("order_id='" + order_id + "'")
                 .add("trade_no='" + trade_no + "'")
                 .add("mer_date='" + mer_date + "'")
                 .add("creat_time='" + creat_time + "'")
                 .add("order_type='" + order_type + "'")
                 .add("order_state='" + order_state + "'")
                 .add("amount='" + amount + "'")
                 .add("pay_info=" + pay_info)
                 .add("split_info=" + split_info)
                 .add("refund_info=" + refund_info)
                 .add("mer_id='" + mer_id + "'")
                 .add("version='" + version + "'")
                 .toString();
     }
 }
